package com.tb.tbv1productservice.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.tb.v1.api.shoop.ISpGoodsPicsService;
import com.tb.v1.common.base.BaseServiceImpl;
import com.tb.v1.common.base.IBaseDao;
import com.tb.v1.entity.SpGoodsPics;
import com.tb.v1.mapper.SpGoodsPicsMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @author: tangBin
 * @Date: 2020/7/23 0023 12:58
 * @Description:
 */
@Service
public class SpGoodsPicsService extends BaseServiceImpl<SpGoodsPics> implements ISpGoodsPicsService {
    @Autowired
    private SpGoodsPicsMapper spGoodsPicsMapper;
    @Override
    public IBaseDao<SpGoodsPics> getBaseDao() {
        return spGoodsPicsMapper;
    }

    @Override
    public Integer saveGoodsPic(List<Map> list) {
        return spGoodsPicsMapper.saveGoodsPic(list);
    }
}
